package com.jinxiangyang.service;

import com.jinxiangyang.domain.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jinxiangyang.domain.vo.ChapterVo;
import com.jinxiangyang.mapper.ChapterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author jinxiangyang
 * @since 2023-08-12
 */

@Service
public interface ChapterService extends IService<Chapter> {


    List<Chapter> getChapterByCid(Integer cid);


    List<ChapterVo> getTreeList(Long courseId);

    void removeChapterCourseId(Long id);
}
